import {combineReducers,createStore,compose,applyMiddleware} from "redux";
import viewShow from './reducers'
import thunk from 'redux-thunk'

const rootReducer = combineReducers({
    viewShow
})
const composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;
export default createStore(rootReducer,composeEnhancers(applyMiddleware(thunk)))